package com.java_demo.domain;

import java.util.Date;

public class Contact {
    private Long custId;
    private String contName;
    private Date createTime;
    private Integer state;

    private Customer customer;

    public String getContName() {
        return contName;
    }

    public void setContName(String contName) {
        this.contName = contName;
    }

    public Long getCustId() {
        return custId;
    }

    public void setCustId(Long custId) {
        this.custId = custId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    @Override
    public String toString() {
        return "Contact{" +
                "custId=" + custId +
                ", contName='" + contName + '\'' +
                ", createTime=" + createTime +
                ", state=" + state +
                ", customer=" + customer +
                '}';
    }
}
